<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

  </head>
  
  <body>
  	<%
  		if(session.getAttribute("username") == null){
  			request.getRequestDispatcher("login.jsp").forward(request, response);
  		}
  	%>
  	<form action="showMessage.jsp" method="post">
		<div>
			<div class="edit_title">编辑留言</div>
			<div class="content">
				<table>
					<tr>
						<td>标题</td>
					</tr>
					<tr>
						<td><input type="text" name="title"></td>
					</tr>
					<tr>
						<td>内容</td>
					</tr>
					<tr>
						<td><textarea name="content" rows="5" cols="20"></textarea></td>
					</tr>
				</table>
			</div>
			<div class="bottom">
				<input type="reset" value="重置">
				<input type="submit" value="提交"> 
			</div>
		</div>
	</form>
  </body>
</html>
